Website powered by

Cyberpunk 2077 - Parallax Displacement Shader

Parallax shader for decals. First few steps are based on steep parallax mapping, and narrowing down of results is done by using binary search.

Parallax Occlusion Mapping was used for world decals and mesh decals, but not for ordinary geometry. Decals generally don't cover a lot of screenspace, and they are rendered at a later render pass, so they don't generate cost from overdraw.

Assets are not mine.

World decals

Mesh Decals